// window.onload = function () {
//
function showTime() {
  setInterval(() => {
    let myDate = new Date()
    let hour = myDate.getHours()
    let minute = myDate.getMinutes()
    let second = myDate.getSeconds()
    $('.secondhand').css('transform', `rotate(${6 * second}deg)`)
    $('.minutehand').css('transform', `rotate(${6 * minute}deg)`)
    $('.hourhand').css('transform', `rotate(${30 * hour}deg)`)
    $('.hour').text(hour)

  }, 1000)
}
showTime()
  // setAttribute('transform', `rotate(${6*second}deg)`);
  //
// }